import { post } from "@/request/http"
import { apiaikote1_2G, pageaikote1_2G } from "../../type"
import { RequestBody, ResponseBody } from "../../../type"

/**
 * @name 资源管理-设备资源属性管理-爱科特X/1.2G下变频通道
 * ---------------
 */
const url = '/backend/resource-property-manage/down-converter-channel-xto1p2g-akt'

const aikoteX70m12GChannelAPI = {
    get: (params: RequestBody<apiaikote1_2G>) => post<pageaikote1_2G[]>(url + "/get", params),
    update: (params: RequestBody<apiaikote1_2G>) => post<ResponseBody<pageaikote1_2G>>(url + "/update", params),
    add: (params: RequestBody<apiaikote1_2G>) => post<ResponseBody<pageaikote1_2G>>(url + "/add", params),
    delete: (params: RequestBody<apiaikote1_2G>) => post<ResponseBody<pageaikote1_2G>>(url + "/delete", params),
    copy: (params: RequestBody<apiaikote1_2G>) => post<ResponseBody<pageaikote1_2G>>(url + "/copy", params),
}

export default aikoteX70m12GChannelAPI